package com.isdepci.project.result.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 范围3分类对象 tpf_source
 *
 * @author isdepci
 * @date 2023-09-05
 */
public class Source extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 来源(1-购买的商品及服务/2-与燃料和能源消耗相关的活动/3-上游交通及分配数量/
4-下游交通及分配数量/5-运行中产生的废弃物/6-员工差旅/7-员工通勤/8-范围3的现场运输) */
    @Excel(name = "来源(1-购买的商品及服务/2-与燃料和能源消耗相关的活动/3-上游交通及分配数量/ 4-下游交通及分配数量/5-运行中产生的废弃物/6-员工差旅/7-员工通勤/8-范围3的现场运输)")
    private Integer source;

    /** 吨CO2e */
    @Excel(name = "吨CO2e")
    private BigDecimal metricTonnesCo2e;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSource(Integer source)
    {
        this.source = source;
    }

    public Integer getSource()
    {
        return source;
    }
    public void setMetricTonnesCo2e(BigDecimal metricTonnesCo2e)
    {
        this.metricTonnesCo2e = metricTonnesCo2e;
    }

    public BigDecimal getMetricTonnesCo2e()
    {
        return metricTonnesCo2e;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("source", getSource())
            .append("metricTonnesCo2e", getMetricTonnesCo2e())
            .toString();
    }
}
